package com.lysj.food.food.repository;

import com.lysj.admin.utils.spring.foundation.base.BaseRepository;
import com.lysj.food.food.domain.FoodAttribute;
import com.lysj.food.food.domain.FoodAttributeDetail;
import com.lysj.food.food.domain.SetMealGroup;

import java.util.List;

/**
 * @author Created by wtl on 2019-03-19 16:00:45
 * @description 菜品属性详情dao
 */
public interface FoodAttributeDetailRepository extends BaseRepository<FoodAttributeDetail> {

    /**
     * 根据菜品属性id和门店id获取对应的菜品详情列表
     */
    List<FoodAttributeDetail> findByFoodAttributeIdAndStoreId(String foodAttributeId, String storeId);

    List<FoodAttributeDetail> findByStoreIdAndDelFlag(String storeId, Integer delFlag);
}